package com.huawei.system.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Systemdictionarydetail {

  private long id;
  private String name;
  private long types_id;
  private Systemdictionarytype systemdictionarytype;

  //用于封装当前部门的子部门
  //部门树最后一级没有数据就不显示
  @JsonInclude(JsonInclude.Include.NON_EMPTY)
  private List<Systemdictionarydetail> children = new ArrayList<>();
}
